{% extends "sil18VitrineBundle::layout.html.twig" %}

{% block content %}
    <h2>Page d'administration</h2>
        <ul class="nav nav-tabs">
            <li {% if app.request.attributes.get('_route') == 'client' %} class="active" {% endif %}>
                <a href="{{ path('client') }}">Gestion Clients</a>
            </li>
            <li {% if app.request.attributes.get('_route') == 'categorie' %} class="active" {% endif %}>                
                <a href="{{ path('categorie') }}">Gestion Catégories</a>
            </li>
            <li {% if app.request.attributes.get('_route') == 'commande' %} class="active" {% endif %}>                
                <a href="{{ path('commande') }}">Gestion Commandes</a>
            </li>
            <li {% if app.request.attributes.get('_route') == 'lignecommande' %} class="active" {% endif %}>                
                <a href="{{ path('lignecommande') }}">Gestion Lignes de commandes</a>
            </li>
            <li {% if app.request.attributes.get('_route') == 'article' %} class="active" {% endif %}>                
                <a href="{{ path('article') }}">Gestion Articles</a>
            </li>
        </ul>
        {% block contentAdmin %}
        {% endblock %}
{% endblock %}